package com.sailing.xjpb.web.base.bean.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 解密相关配置
 *
 * @author YW
 * create 2022/10/16
 */
@Data
@ConfigurationProperties(prefix = "xjpb.password.decode")
public class DecodeConfigProperties {

    /**
     * 是否启用密码解密
     */
    private boolean enable = false;
    /**
     * 密码解密key
     */
    private String key = "YL/tERP7HH-SucZR";
    /**
     * rsa公钥
     */
    private String rsaPublicKey =
            "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5cjEkHd8aUrNBoDynwJMmmXwVCTifuwUke40Osg8MjwqUrFuSWmawdZBCriPWKkTHCaHtE6S6+diFOAxxscGHOH5yQyTkdP0tuxPwmDu6fpWGGVtwE01g2sfzG/RcYjqDeiEj1cefj+4e1M4uOC4Cv2THWs0ky0cyoz77fPvEOVY8WrppkZts1COTbeR8ZgQFEpsyDP2BDvlWjreK2ltTjg2ucfb+GSgJP6XtB21TUJzke6D9vUKucuk7PcmBMpABxUa0TYuFwm95VHUq1ealwgLEt8rJjT1VsLD5j/oub+IqbMbXZvKo7Z1c9uWQ1RWu88hb1MaIhs//+zMQw9yUQIDAQAB";
    /**
     * rsa私钥
     */
    private String rsaPrivateKey = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDlyMSQd3xpSs0GgPKfAkyaZfBUJOJ" +
            "+7BSR7jQ6yDwyPCpSsW5JaZrB1kEKuI9YqRMcJoe0TpLr52IU4DHGxwYc4fnJDJOR0/S27E/CYO7p+lYYZW3ATTWDax" +
            "/Mb9FxiOoN6ISPVx5+P7h7Uzi44LgK/ZMdazSTLRzKjPvt8+8Q5VjxaummRm2zUI5Nt5HxmBAUSmzIM/YEO" +
            "+VaOt4raW1OODa5x9v4ZKAk/pe0HbVNQnOR7oP29Qq5y6Ts9yYEykAHFRrRNi4XCb3lUdSrV5qXCAsS3ysmNPVWwsPmP" +
            "+i5v4ipsxtdm8qjtnVz25ZDVFa7zyFvUxoiGz//7MxDD3JRAgMBAAECggEANinU65i+orMXEOlkR0brd5l" +
            "/xNXM7c4IKz3S4ehBCDZWY5efP369E+PFARnv8B4qewA6DK5Yw3KPFAykrw5KypQZpOJqBn3HuTaKtm7S4iQ4FxgRfrq0Wn3tyOqym" +
            "+iCAzVDyeXnMisi+S7st+eAela7TrvucKK5nqUM3VIakAiNL4oTlSgT4wEeqc3IFRLx3UPSxszhm0XF1YsX594HTCNjnEtpdm" +
            "/HVcrTfMY/NSNRQ5lB8+31KmDKFscBCasuhinQ2n2tewYY0hTlChRr41FZSKqhOGyS3kg/sOidT/YqL5p2UWdg4NwAWhK" +
            "+dNcgPKLsd18tY4q1U0ge6XvwAQKBgQD+GU5QUfnxFOW9h8et/AGrN6QjIPhwSCtiyWJbavAsfna6lZn08Wfg/MTB+3+8N" +
            "/eUhzGB2aFVd27Nkuq5vlYdQWxUEE1muxXlOBtZyAYv9ZX2h2QA0pzivD" +
            "+EEiY25etJ34LRLQuSS8mNYIHnu3Ma6gdkG4I6030KLqrXA5It8QKBgQDngOPwLYbNTiCL6z/NG" +
            "/vUnj7hJEFZUeIXQjbQIDnlkJss3hBgK0q8rbEhS3roUqHdu/Kb0G+Hx+X7J2MhGD+ANt8l3sNCxhW4uS6sOO" +
            "++Sf4iboPiSdHz7oNIbTfRgMe/bGHGNvcPPdwuowJOjeK9i" +
            "/55aV10RmWWO1vn9sqqYQKBgQDN8bq8dMSsNfDCfZNEm3TKzc0Vv7o8XvHzHh++0lyY42LddTUUBrjX7GaYhnuQFJhwZGamxLnzKFrA" +
            "+WuPYgovqf/f3lqtgcKMRr48NVd2dYi3CCLwW8NWLZcZNxCL/CuIc0R2vxia2Rwhnu+K3y26yaV16KnTfefhYdOLc1R" +
            "+MQKBgF9dTAhjaLVoKqYYyZZ/oZSrf3GVUsotnfpAz32a2N7FW/b2nz5OdyIUVvRFOKM9bup9gupGybrgUM" +
            "/OINrAN2BkujXKdxspqEcJGb3eUnxL1MFwTynHiRJ4PWJ3g1ftOduUFQ7nE40WyX34rnmXn0C" +
            "/y5tOGS5N1Yk2eJysoD3hAoGBAIWIjf9RFKU0ePBzPwhXjnIPJR5zsrrfEwcR6R91LllfaZYtzaDrbAK" +
            "+gyWfeMjUVLKrzl6Mxt0bxIg0paBYAGJBh1Qvz10UYBfmD1/U8dJW7bS5JHXFnjL67GkzS0dEXX" +
            "+6ck95cN7ClJVPBQ0cDDqgHzYwJa5jhvdLOrY3vWQq";

}
